<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>


<html>
  <head>
    <base href="${pageContext.request.contextPath}/">
    <title>理陪单信息管理</title>
    <%@ include file="../common/base.jsp" %>
   
    <script type="text/javascript">
        
    </script>

  </head>
  
  <body>
  	<!--head-->
	<div id="head">
		<jsp:include page="../common/head.jsp"></jsp:include>
	</div>
	<!--head end-->
	<!--container-->
	<div id="container">
		<div id="pageId" style="display: none;">02-10-01</div>
		<!--sidebar-->
		<jsp:include page="../common/menu.jsp"></jsp:include>
	    <!--sidebar-->
	    <!--main-->
	    <div class="main">
			<div class="location" style="background-position:22px -109px;">
				平台管理<span>&gt;</span>订单管理<span>&gt;</span>理陪信息管理<span>&gt;</span>理陪单详情
			</div>
	        <!--content-->
			<div class="content">
				<table class="table_type1 tablesorter" id="partnerInfo">
					<tr>
						<th style="width: 20%">理陪单ID</th>
						<td >${tAicheClaimDTO.id }</td>
					</tr>
					<tr>
						<th>理陪金额</th>
						<td>${tAicheClaimDTO.claimSafeMoney }</td>
					</tr>
					<tr>
						<th>理陪物品所用次数</th>
						<td>${tAicheClaimDTO.claimSafecount }</td>
					</tr>
					<tr>
						<th>理陪用户所用次数</th>
						<td>${tAicheClaimDTO.claimUsercount }</td>
					</tr>
					<tr>
						<th>订单状态</th>
						<td>
							<c:if test="${tAicheClaimDTO.status==1}">申请中</c:if>
							<c:if test="${tAicheClaimDTO.status==2}">理陪中</c:if>
							<c:if test="${tAicheClaimDTO.status==3}">理陪完成</c:if>
						</td>
					</tr>
					<tr>
						<th>理陪单车身照</th>
						<td>
							<c:forEach var="item" items="${claimCarList}" varStatus="vatS">
								<img src="../../static${item.carImage}" style="width:420px;height: 240px">
							</c:forEach>
						</td>
					</tr>

				</table>


				<div class="button_wrap">
					<input type="button" value="关闭" onclick="closeClaimDetail()" >
				</div>

			</div>
	        <!--content-->
		        <!--foot-->
			<%@ include file="../common/foot.jsp" %>
		        <!--foot-->
		    </div>
		</div>
	    <!--main-->
	</div>
	<!--container-->
	<script src="${pageContext.request.contextPath}/static/js/basic.js"></script>
	<script type="text/javascript">

		function closeClaimDetail(){
            window.location.href = "${pageContext.request.contextPath}/claim/showClaim";
		}


	</script>
  </body>
</html>
